package com.bw.service;

import com.bw.dao.Dao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ServiceImpl implements ServiceDao{
    @Autowired
    Dao dao;

    @Override
    public List<Map> showType() {
        return dao.showType();
    }

    @Override
    public List<Map> showSum() {
        return dao.showSum();
    }

    @Override
    public List<Map> showAvg() {
        return dao.showAvg();
    }

    @Override
    public List<Map> showCz() {
        return dao.showCz();
    }

    @Override
    public List<Map> showMax() {
        return dao.showMax();
    }

    @Override
    public List<Map> showCou() {
        return dao.showCou();
    }

    @Override
    public List<Map> showKong() {
        return dao.showKong();
    }
}
